package com.wisdytech.common.bean.event;

import org.springframework.context.ApplicationEvent;

import com.wisdytech.common.enums.ActionType;
import com.wisdytech.linkdcs.equipment.model.EquipmentToClient;

/**
 * dcs参数事件
 * @author dlb
 *
 */
public class DcsParamEvent extends ApplicationEvent{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8702034044577100174L;
	
	/**终端连接对象*/
	EquipmentToClient clientConnect;
	
	/**增删改类型*/
	private ActionType actionType;
	
	
	public DcsParamEvent(Object source,EquipmentToClient clientConnect,ActionType actionType) {
		super(source);
		this.actionType=actionType;
		this.clientConnect=clientConnect;
	}


	

	public EquipmentToClient getClientConnect() {
		return clientConnect;
	}




	public void setClientConnect(EquipmentToClient clientConnect) {
		this.clientConnect = clientConnect;
	}




	public ActionType getActionType() {
		return actionType;
	}


	public void setActionType(ActionType actionType) {
		this.actionType = actionType;
	}
	
	

}
